#ifndef __UICARWND__H__
#define __UICARWND__H__

#include <MZFCLIB.h>

#include	"iUiButton.h"
#include	"UiStatusBar.h"

typedef enum _tagCarWndBtnDisplay
{
	CAR_WND_ENTER = 0,
	CAR_WND_LAST,
	CAR_WND_NEXT,
	MAX_CAR_WND_BTN,
} CAR_WND_BTN;

class UiCarWnd :
	public UiWin
{
public:
	UiCarWnd();
	~UiCarWnd();

	BOOL InitUiWin(void);

	void PaintWin(HDC hdc, RECT* prcWin, RECT* prcUpdate);
	virtual int OnLButtonDown(UINT fwKeys, int xPos, int yPos);
	virtual int OnLButtonUp(UINT fwKeys, int xPos, int yPos);
	virtual void DeleteImages();

	void LoadiInterItem();
	BOOL InitImages();
public:
	iUiButton m_BtnCarWnd[MAX_CAR_WND_BTN];
	ImagingHelper	*m_CarWndBG;

	HDC				m_hBakDC;
	HBITMAP			m_hBitmapBakDC;

};

#endif